package org.dromara.lsc.domain.bo;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.lsc.domain.TrainStragyLsc;

/**
 * 【请填写功能名称】业务对象 train_stragy_lsc
 *
 * @author Lion Li
 * @date 2023-12-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TrainStragyLsc.class, reverseConvertGenerate = false)
public class TrainStragyLscBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 训练集id
     */
    @NotNull(message = "训练集id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long trainId;

    /**
     * 验证集id
     */
    @NotNull(message = "验证集id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long validId;

    /**
     * 训练状态
     */
    @NotNull(message = "训练状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long trainStatus;

    /**
     * 策略名称
     */
    private String stragyName;

    /**
     * 模型id
     */
    @NotNull(message = "模型id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long modelId;


}
